const route = [
  {
    path: '/event',
    name: "event",
    redirect: "/event/eventList",
    meta: {
      roles: ['2'],
      show: true
    },
    component: () => import('@/views/event/index'),//事件管理
    children: [
      {
        path: 'eventList',
        name: 'eventList',
        component: () => import('@/views/event/eventList/eventList'),//事件列表
        meta: {
          roles: ['2'],
          show: true
        },
      },
    ]
  },
]
export default route;